<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
	当前<span ><s:property value="#pageInfo.pageIndex"/></span>/<span  ><s:property value="#pageInfo.pageGross"/></span>页
	每页共<span  ><s:property value="#pageInfo.pageSize"/></span>条记录	
	共<span  ><s:property value="#pageInfo.pageRecord"/></span>条记录
<script type="text/javascript">
function enter(evt,index,size){
		if(evt.keyCode==13 || evt.keyCode==42)
		{
			toPage(index,size);
		};
	}
</script>
<form action="javascript:return true">
<div class="pagination">
	<ul>
		<s:if test="#pageInfo.pageIndex==1"><li class="disabled"><a href="javascript:void(0)">&laquo;</a></li></s:if>
		<s:else>
			<li><a  href="javascript:toPage('<s:property value="#pageInfo.pagePrevious"/>','<s:property value="#pageInfo.pageSize"/>')">&laquo;</a></li>
		</s:else>
		&nbsp;
			<input type="text"  pattern="[0-9]*"  style="width: 30px;text-align: right;" value="<s:property value="#pageInfo.pageIndex"/>"  onkeyup="this.value=this.value.replace(/[^\d\.]/g,'')" onkeypress="if(event.keyCode==13||event.keyCode==42){toPage(this.value,'<s:property value="#pageInfo.pageSize"/>');}"/>
		<s:if test="#pageInfo.pageIndex==#pageInfo.pageGross">
			<li class="disabled" ><a href="javascript:void(0)">&raquo;</a></li>
		</s:if>
		<s:else>
			<li><a href="javascript:toPage('<s:property value="#pageInfo.pageNext"/>','<s:property value="#pageInfo.pageSize"/>')">&raquo;</a></li>
		</s:else>	
	</ul>
</div>
</form>

